package edu.ccut.osgi.test;

import java.io.PrintStream;
import java.util.List;

import junit.framework.Test;
import junit.framework.TestResult;

import org.osgi.framework.Bundle;

public interface IOSGiJunitService {

	public abstract void addTestSuites(Bundle bundle);

	public abstract void removeTestSuites(Bundle bundle);

	public abstract void setResultPrinter(PrintStream pw);

	public abstract List<TestResult> run();

	public abstract List<Test> getTests();

	public abstract List<Test> getTests(long bundleId);

	public abstract List<TestResult> run(long bundleId);
}